package com.liming.common.pojo.dto.product;

import com.liming.common.pojo.dto.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liming
 * @date 2025/3/20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "小程序 - 商品分页查询参数")
public class MiniProductPageQuery extends PageDTO {

    @Schema(description = "全量查询 - 小程序端的搜索框 - 对全部进行查询")
    private String fullQuery;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "品牌ID")
    private Long brandId;

    @Schema(description = "价格区间")
    private String priceRange;

    @Schema(description = "排序方式 0默认 1价格降序 2价格升序 3销量降序")
    private Integer sortType;
}
